package xyz.robinbingo.dailybill.generator;

import org.junit.Test;

/**
 * <p>
 * 测试生成代码
 * </p>
 *
 * @author K神
 * @date 2017/12/18
 */
public class MyGenerator {

    private static final String URL = "jdbc:mysql://localhost:3306/daily_bill?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=true";
    private static final String USERNAME = "root";
    private static final String PASSWORD = "root";
    private static String[] TABLE_NAMES = {"bill_type","bill_detail"};

    @Test
    public void generateCode() {
        Generator.g(URL, USERNAME, PASSWORD, TABLE_NAMES);
    }

}
